<template>
	<el-carousel class="slideshow" direction="vertical" :autoplay="true">
		<el-carousel-item v-for="(img,index) in imgList" :key="index">
			<el-image :src="img" :fit="'contain'" style="width: 100%"/>
		</el-carousel-item>
	</el-carousel>
</template>
<script setup lang="ts">
const imgList: Array<string> = Object.keys(import.meta.globEager("@/assets/Home_Slideshows/*.jpg"));
</script>
<style scoped lang="less">
.slideshow {
	width: 60%;
	height: 30%;
}
</style>
